<template>
  <ProPanel :groups="groupsBase" :data="stageStore.layerData">
    <template #specularMap>
      <img :src="stageStore.layerData.specularMap" alt="" class="img-style" />
    </template>
  </ProPanel>
  <ProPanel :groups="groups" :data="stageStore.layerData.data" />
</template>

<script lang="ts" setup>
import ProPanel from '@/components/pro-panel/index.vue';
import { useStageStore } from '@/store/stage';
import basic from './groups/basic';
import effect from './groups/effect';

const stageStore = useStageStore();
const groupsBase = computed(() => {
  return [basic()];
});
const groups = computed(() => {
  return [effect];
});
</script>

<style lang="less" scoped>
.img-style {
  width: 68px;
  height: 68px;
}
</style>
